package com.sooth.micro.process.mapper;

import com.dream.system.annotation.Mapper;
import com.dream.system.annotation.Param;
import com.dream.system.annotation.Sql;
import com.sooth.micro.process.view.MicroProcessBo;
import com.sooth.micro.process.view.MicroProcessVo;

@Mapper
public interface MicroProcessMapper {
    @Sql("select @*() from micro_process where app_id=:appId")
    MicroProcessBo queryByAppId(@Param("appId") Long appId);

    @Sql("select @*() from micro_process where process_id=:processId")
    MicroProcessVo query(@Param("processId") String processId);
}
